#ifndef SPOOFLIB_H
#define SPOOFLIB_H
#include <libnet.h>

// typedef struct libnet_arp_hdr ARPhdr;
typedef struct libnet_ethernet_hdr ETHERhdr;
typedef struct arphdr ARPhdr;

typedef struct arphdr { // bo w powyzszym wprowadzono dynamiczna alokacje - beznens
	u_int16_t htype;
	u_int16_t ptype;
	u_char hlen;
	u_char plen;
	u_int16_t oper;
	u_char sha[6];
	u_char spa[4];
	u_char tha[6];
	u_char tpa[4];
}arphdr_t;




#endif